home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1156 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. References: <68771033@0humpty.tomate.tng.oche.de> 
  3. X-Newsreader: MicroDot 1.8 
  4. Mime-version: 1.0
  5. Content-Type: text/plain; charset=iso-8859-1
  6. Content-Transfer-encoding: 8BIT
  7. Path: news.tng.oche.de!tomate.tng.oche.de
  8. X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
  9. Subject: Re: Function like UPPER but ANY in C ?
  10. Message-ID: <w+P6iMD1A7aaz6@0dietmar.tomate.tng.oche.de>
  11. Date: Sun, 14 Jan 96 12:01:22 GMT
  12. Organization: Developer
  13. X-ZC-TELEFON: +49-(0)241/81665
  14. X-ZC-POST: Mies-v-d-Rohe-Str.31 D-52074 Aachen
  15. From: DIETMAR@TOMATE.TNG.OCHE.DE (Dietmar Eilert)
  16.  
  17. humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich) wrote:
  18.  
  19. AM> need of modifiyng a GoldED Scanner. I have noticed, that the Guides Scanner
  20. AM> does not work correct with guides, which have their keywords in lower case.
  21. AM> No I need a function (or whatever) that does an ANY instead of UPPER.
  22. AM> Here is the sourcepart:
  23. AM> 
  24. AM>         if (UPPER(*next++) == 'N') {
  25. AM> 
  26. AM>             if (UPPER(*next++) == 'O') {
  27.  
  28. No - the UPPER() macro is used to make the compare case-insensitive.
  29.  
  30. AM> Is there something like that that works either with GNU-C or the PD Version
  31. AM> of DICE ?
  32.  
  33. Don't forget that syntax scanners aren't normal C programs - your compiler
  34. may not create standard startup code. The correct DICE options to compile
  35. the examples are listed in the original source codes.
  36.  
  37. * In a random sampling of GoldED users, 100% said that they'd rather use
  38.   GoldED than be publically flogged, eaten alive by pirhanas, OR watch
  39.   SeaQuest DSV.
  40.  
  41. /\/\ GED Support
  42. /\/\ FAX +49-(0)241-81665
  43. /\/\ FAX +49-(0)241-81665-(Pause)-22
  44.  
  45. -- MicroDot 1.8
  46.  
  47.